package com.tobie.info.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tobie.info.entity.FlightEntity;

import java.util.List;

/**
 * @Author lc
 * @Date 2023/11/17 10:04
 * @注释 航班信息接口
 */
public interface IFlightService extends IService<FlightEntity> {
    /*
     * 根据初始地和目的地查找航班
     */
    List<FlightEntity> getFlightByLeaveCityAndArriverCity(String leaveCity, String ArriverCity);

    /*
     * 获取所有航班
     */
    List<FlightEntity> getAllFlight();
}